
import re

if __name__=="__main__":
    a = "In stock (19 available)"
    print re.findall("\d+", a)[0]

    pass